﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <meta http-equiv="Content-Type" content="text/html;charset=cp1251"/>
    <meta name="robots" content="@(ViewBag.Robots ?? "all")" />
    <meta name="revisit-after" content="1 days" />
    <meta name='yandex-verification' content='49d0a384827621bf' />
    <meta name="google-site-verification" content="kI237FCei0uXW7_9IjGbUo2XcrdvAhUwzHeO4ZuIsS0" />
    <meta name="msvalidate.01" content="8748DCFAA6D2DA83EAC5FD4FE1A24618" />
    <meta name="description"  content="@((ViewBag.Meta_description ?? "") + " гайды по доте, все герои доты")"/>
    <meta name="keywords" content="@ViewBag.Meta_keywords"/>
    <link rel="SHORTCUT ICON" href="@Url.Content("~/content/favicon.ico")"/>
    <link href="@Url.ContentWithVersion("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.ContentWithVersion("~/Content/Current.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery.tooltip.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery-ui.css")" rel="stylesheet" type="text/css" />

    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine&text=Dota Help!" />
  
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.4.4.js" type="text/javascript"></script>  
    <script src="http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.bgiframe.js")" type="text/javascript"></script>
    
    <script src="@Url.ContentWithVersion("~/Scripts/jquery.tooltip.js")" type="text/javascript"></script>

    
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.7/jquery.validate.js" type="text/javascript"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.js" type="text/javascript"></script>

    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.6/jquery-ui.js"></script>  
    

    <script src="http://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js" type="text/javascript"></script>    
    <script type="text/javascript" src="@Url.Content("~/Content/ckeditor/ckeditor.js")"></script>   
    <!--<script src="http://ckeditor.com/apps/ckeditor/3.6.3/ckeditor.js" type="text/javascript"></script> -->
    
    <script type="text/javascript" src="@Url.Content("~/Content/ckeditor/adapters/jquery.js")"></script>
    <!-- Put this script tag to the <head> of your page -->
   @* <script type="text/javascript" src="//vk.com/js/api/openapi.js?64"></script>*@

    @*<script type="text/javascript">
        VK.init({ apiId: 3052003, onlyWidgets: true });
    </script>*@
    <script type="text/javascript">
        function addTooltip(selector) {
            $(selector).tooltip({
                track: true,
                getUrl: function () {
                    return $(this).attr("TitleUrl");
                },
                showURL: false
            });
        }

        $(function () {
            addTooltip(".TitleImg");

            $('form').live("submit", function () {
                if ($(this).valid()) {
                    if ($(':submit', this).val() != "Поиск") {
                        $(':submit', this).attr('disabled', 'disabled');
                    }
                }
            });
        });

        $(function () {
            $("#Menu").dialog({ autoOpen: false, modal: true, width: 900, height:600,
                buttons: {
                    "Закрыть": function () { $(this).dialog("close"); }
                }
            });

            $("#heroesMenu").dialog({ autoOpen: false, modal: true, width: 900, height: 600,
                buttons: {
                    "Закрыть": function () { $(this).dialog("close"); }
                }
            });

        });

        function openHeroesMenu(){
            var url = "@Url.Action("OnlyListV2", "Heroes")?@Url.Version()";
            if ($("#heroesMenuBody").html()=="") $("#heroesMenuBody").load(url);
            $('#heroesMenu').dialog('open')
        }

        

        function OnComplete(result, status) {
            var r = result.responseText;
            if (r == "Invalide captcha") {
                alert("Неверная капча");
                $(':submit').removeAttr('disabled');
            } else {
                window.location = r;
            }
        }
    </script>

   <script type="text/javascript">

       var _gaq = _gaq || [];
       _gaq.push(['_setAccount', 'UA-32553268-1']);
       _gaq.push(['_trackPageview']);

       (function () {
           var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       })();

</script>

</head>

<body>      
       <div class="page" style="min-width:1200px">

        <div id="header">

            <div id="logindisplay" style="color:#ffd700;">
                <noindex>                          
                   <a href="http://depositfiles.com/files/xe0wmaj54" rel="nofollow" >Скачать WarCraft 3 Frozen Throne</a> | <a href="http://www.getdota.com/" rel="nofollow" >Скачать dota 6.78c</a> | @Html.ActionLink("Rss", "Rss", "Home") | @Html.Partial("_LogOnPartial")  <br />
                   
                   @*<form id="cse-search-box" action="http://www.google.kz/cse" target="_blank" style="margin-top:5px">
                    <div>
                        <input name="cx" value="partner-pub-8001015420538888:livdmi-qpql" type="hidden">
                        <input name="ie" value="utf-8" type="hidden">
                        <input style="background: rgb(255, 255, 255); padding: 2px; border: 1px solid rgb(126, 157, 185);" name="q" size="28" type="text">
                        <input name="sa" value="Поиск" type="submit">
                    </div>
                    <input name="siteurl" type="hidden">
                    <input name="ref" type="hidden">
                    </form>*@
                    @using (Html.BeginForm("Search", "Home", FormMethod.Get, new { style = "margin-top:5px" }))
                    { 
                        <div>
                            <input type="text" style="background: rgb(255, 255, 255); padding: 2px; border: 1px solid rgb(126, 157, 185);" name="q" size="28" />
                            <input name="sa" value="Найти по сайту" type="submit" />
                        </div>
                    }
                </noindex>
            </div>
            
            <div id="title" >
                <nobr>
                    <a href="/" style=" text-decoration:none;" ><img alt="DotaHelp - Все о доте" title="Dotahelp.ru" src="@Url.Content("~/Content/logo3.jpg")"  width="32"/> 
                    <h1 style="color:#ffd700; font-family: 'Tangerine', serif; font-size: 32px;display:inline">
                     &nbsp;Dota Help  </h1> </a>  
                 </nobr>                
            </div>
            
            @if ((string)ViewContext.Controller.ValueProvider.GetValue("action").RawValue != "Menu")
            { 
            <a href="@Url.Action("Menu", "Home")" onclick="$('#Menu').dialog('open');return false;" style="position:fixed;left:2px;top:160px;">
                <img src="@Url.Content("~/Content/menu.gif")" alt="Меню" />
                <span style="position:absolute;color:black;font-weight:bold;top:42px;left:8px; font-style:italic; font-size:medium">Меню</span>
                <span style="position:absolute;color:yellow;font-weight:bold;top:40px;left:6px; font-style:italic; font-size:medium">Меню</span>
            </a>
            }
            <a href="/" onclick="openHeroesMenu();return false;" style="position:fixed;left:2px;top:230px;">
                <img src="@Url.Content("~/Content/heroes.jpg")" alt="Герои" />
                <span style="position:absolute;color:black;font-weight:bold;top:42px;left:7px; font-style:italic; font-size:medium">Герои</span>   
                <span style="position:absolute;color:yellow;font-weight:bold;top:40px;left:5px; font-style:italic; font-size:medium">Герои</span> 
                            
            </a>
            <a href="/Item/Shops"  style="position:fixed;left:2px;top:300px;">
                <img src="@Url.Content("~/Content/recept.png")" alt="Предметы" />
                <span style="position:absolute;color:black;font-weight:bold;top:42px;left:13px; font-style:italic; font-size:medium">Арты</span>   
                <span style="position:absolute;color:yellow;font-weight:bold;top:40px;left:11px; font-style:italic; font-size:medium">Арты</span> 
                            
            </a>
            <a href="http://vk.com/club20418573"  style="position:fixed;left:2px;top:370px;">
                <img src="@Url.Content("~/Content/vkontakte.gif")" alt="Dotahelp Group ВКонтакте" />
                <span style="position:absolute;color:black;font-weight:bold;top:42px;left:7px; font-style:italic; font-size:14">Группа</span>   
                <span style="position:absolute;color:yellow;font-weight:bold;top:40px;left:5px; font-style:italic; font-size:14">Группа</span> 
                            
            </a>

            @*
            <img src="http://habrastorage.org/storage2/1a0/c99/6cb/1a0c996cba63b76a51ae457381c8c21e.png" 
                style="position:fixed;left:5px;top:460px;cursor:pointer"
                 onclick="$('#chat').toggle()"
            />*@
            @*
            <a href="http://vk.com/club20418573"  style="position:fixed;left:2px;top:210x;">
                <img src="@Url.Content("~/Content/vkontakte.gif")" alt="Dotahelp Group ВКонтакте" />
                <span style="position:absolute;color:black;font-weight:bold;top:42px;left:7px; font-style:italic; font-size:medium">Группа</span>   
                <span style="position:absolute;color:yellow;font-weight:bold;top:40px;left:5px; font-style:italic; font-size:medium">Группа</span> 
                            
            </a>*@

            <div style="clear:both"></div>
            <div>
                @RenderSection("tabmenu", false)
            </div>
        </div>

        <div id="main">   
            <table style="width:100%">
                <tr>
                    <td style="vertical-align:top">
                         @if (!System.Diagnostics.Debugger.IsAttached)
                         { 
                       <!-- AddThis Button BEGIN -->
                        <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
                        <a class="addthis_button_preferred_1"></a>
                        <a class="addthis_button_preferred_2"></a>
                        <a class="addthis_button_preferred_3"></a>
                        <a class="addthis_button_preferred_4"></a>
                        <a class="addthis_button_compact"></a>
                        <a class="addthis_counter addthis_bubble_style"></a>

                            
                        </div>
                             @*<div id="vk_subscribe" style="margin-top:2px"></div>
                        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4fe323b755987a04"></script>*@
                          <!-- AddThis Button END -->   
                             <!-- VK Widget -->
                            /*
                            <script type="text/javascript">
                                VK.Widgets.Subscribe("vk_subscribe", {}, -20418573);
                            </script>
                       */
                         }
                       


                        @RenderBody()

                          <!-- Elastic limiter Start-->
                        <span id="MGDW16948"></span>
                        <!-- Elastic limiter End-->
                    </td>
                
                    @if (!System.Diagnostics.Debugger.IsAttached)
                    {                        
                        if (!Request.IsAuthenticated)
                        {
                            <td style="width:220px;padding-left:15px; vertical-align:top">                       
                               @Html.Partial("Ad")
                            </td>                         
                        }
                    }
                </tr>                
            </table>
            
            

            <div style="clear:both;margin-top:50px">     
            @if (!System.Diagnostics.Debugger.IsAttached)
            { 
                    <!--<script type="text/javascript" src="http://dotahelp2.chatovod.ru/widget.js?height=450" charset="UTF-8"></script><p>Чат предоставлен сервисом <a href="http://www.chatovod.ru/">Chatovod.ru</a>.</p>-->
                      
	                <!--<iframe scrolling="no" frameborder="0" width="100%" height="400" src="http://dotahelp2.chatium.com/inc"></iframe>-->                    
                    
                    <!-- Yandex.Metrika informer -->
                    <a href="http://metrika.yandex.ru/stat/?id=13255561&amp;from=informer"
                    target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/13255561/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
                    style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:13255561,type:0,lang:'ru'});return false}catch(e){}"/></a>
                    <!-- /Yandex.Metrika informer -->

                    <!-- Yandex.Metrika counter -->
                    <script type="text/javascript">
                        (function (d, w, c) {
                            var n = d.getElementsByTagName("script")[0],
                            s = d.createElement("script"),
                            f = function () { n.parentNode.insertBefore(s, n); };
                            s.type = "text/javascript";
                            s.async = true;
                            s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

                            if (w.opera == "[object Opera]") {
                                d.addEventListener("DOMContentLoaded", f);
                            } else { f(); }

                            (w[c] = w[c] || []).push(function () {
                                try {
                                    w.yaCounter13255561 = new Ya.Metrika({ id: 13255561, enableAll: true });
                                } catch (e) { }
                            });
                        })(document, window, "yandex_metrika_callbacks");
                    </script>
                    <noscript><div><img src="//mc.yandex.ru/watch/13255561" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
                    <!-- /Yandex.Metrika counter -->
                                   
            }    
            </div>
        </div>
        
    </div>
    <p align="right">       
        @if (!System.Diagnostics.Debugger.IsAttached)
        {
            if (!Request.IsAuthenticated)
            {
            
                @*marketgid.com 16948 Композитный информер *@
           
                <script type="text/javascript">
                    var MGCD = new Date();
                    document.write('<scr'
                + 'ipt type="text/javascript"'
                + ' src="http://jsc.dt00.net/d/o/dotahelp.ru.16948.js?t='
                + MGCD.getYear()
                + MGCD.getMonth()
                + MGCD.getDay()
                + MGCD.getHours()
                + '" charset="windows-1251"></scr' + 'ipt>');
                </script>      
            
            
                @* advmaker.ru *@
               <script type="text/javascript">
                    function stopError() { return true; }
                    window.onerror = stopError;
                    var am_jq = 0; if (window.jQuery) { am_jq = 1; }
                    var am_loc = escape(top.location.href.substring(0, 255));
                    var am_ref = escape(document.referrer.substring(0, 255));
                    var am_title; try { am_title = encodeURIComponent(document.getElementsByTagName("TITLE")[0].innerHTML.substring(0, 100)); } catch (e) { am_title = ""; }
                    var am_rand = Math.floor(Math.random() * 10000);
                    var am_code_cu = document.createElement("script"); am_code_cu.type = "text/javascript";
                    am_code_cu.src = "http://am10.ru/code.php?type=cu&jq=" + am_jq + "&rand=" + am_rand + "&u=19226&loc=" + am_loc + "&ref=" + am_ref + "&title=" + am_title;
                    document.body.appendChild(am_code_cu);
                    var am_code_sb = document.createElement("script"); am_code_sb.type = "text/javascript";
                    am_code_sb.src = "http://am10.ru/code.php?type=sb&jq=" + am_jq + "&rand=" + am_rand + "&u=19226&loc=" + am_loc + "&ref=" + am_ref + "&title=" + am_title;
                    document.body.appendChild(am_code_sb);
                </script>           
               
            }
        }
    </p>
    
    <div id="Menu" style="display:none;background-color:white" title="Меню">
        @Html.Action("MenuPartial", "Home")      
    </div>

    <div id="heroesMenu" style="display:none;background-color:white" title="Герои" >          
        <div id="heroesMenuBody"></div>     
    </div>

    
    @*с этого ящика стоит переадресация на dotahelp@mail.ru    *@
    <div style="text-align:center;color:White;margin-bottom:15px"></div>   
    
</body>
</html>
